package com.yw.warInfo.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;

import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@TableName(value = "war")
public class War {
    @Id
    @Schema(description = "内码",name = "id")
    private Integer id; // 内码

    @Schema(description = "战争名",name = "warName")
    private String warName; // 战争名

    @Schema(description = "所属战线ID",name = "frontId")
    private Integer frontId; // 所属战线ID

    @Schema(description = "战争简要说明",name = "warBrief")
    private String warBrief; // 战争简要说明

    @Schema(description = "战争详细说明",name = "warDetailed")
    private String warDetailed; // 战争详细说明

    @Schema(description = "城市ID",name = "cityId")
    private Integer cityId; // 城市ID

    @Schema(description = "栏目ID",name = "columnId")
    private Integer columnId; // 栏目ID

    @Schema(description = "创建时间",name = "createTime")
    private LocalDateTime createTime; // 创建时间

    @Schema(description = "更新时间",name = "updateTime")
    private LocalDateTime updateTime; // 更新时间
}
